package com.ruicar.afs.cloud.risk.tortoise.dto.response.apply;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruicar.afs.cloud.risk.tortoise.dto.response.GwtRefData;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @Author Peng Jinbo
 * @Date 2020/07/27 19:08
 */
@Data
@AllArgsConstructor
@Builder
@ApiModel("附加贷产品")
public class GwtAppendProduct extends GwtRefData implements Serializable {

    /**
     * Product name
     */
    @JsonInclude
    @JSONField(name = "itemname")
    @JsonProperty("itemname")
    private String productName;

    /**
     * Amt
     */
    @JsonInclude
    @JSONField(name = "itemprice")
    @JsonProperty("itemprice")
    private BigDecimal amt;
}
